﻿<template>
    <elm-page-bb>
        <el-form ref="model" :model="model" size="small" label-width="70px">
            <el-form-item label="角色名称">
                <el-input v-model="model.name"></el-input>
            </el-form-item>
            <el-form-item label="备注">
              <el-input type="textarea" :rows="2" v-model="model.remark" ></el-input>
            </el-form-item>
        </el-form>
        <template #bottom>
            <elm-save-button type="success" size="small" url="/system/role/Upsert" :data="model">立即保存</elm-save-button>
            <el-button size="small" @click="close">取消</el-button>
        </template>
    </elm-page-bb>
</template>

<script>
    export default {
        extends: elmVueBase,
        data() {
            return {
            }
        },
        created() {
          this.model.type="自定义";
        },
        methods: {
        }
    }
</script>

<style scoped>
</style>